<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学生注册表单</title>
</head>
<body>
<h1>学生注册表单</h1>
<form action="/insert" method="POST"> <!-- 替换为你的处理表单的URL -->
    <label for="first_name">名:</label>
    <input type="text" id="first_name" name="first_name" value="张" required maxlength="50"><br><br>

    <label for="last_name">姓:</label>
    <input type="text" id="last_name" name="last_name" value="三" required maxlength="50"><br><br>

    <label for="gender">性别:</label>
    <select id="gender" name="gender" required>
        <option value="male">男</option>
        <option value="female">女</option>
        <option value="other">其他</option>
    </select><br><br>

    <label for="birthday">生日:</label>
    <input type="date" id="birthday" name="birthday" value="2000-01-01" required><br><br>

    <label for="email">电子邮箱:</label>
    <input type="email" id="email" name="email" value="zhangsan@example.com" required maxlength="100"><br><br>

    <label for="phone_number">电话号码:</label>
    <input type="text" id="phone_number" name="phone_number" value="12345678901" maxlength="15"><br><br>

    <label for="address">地址:</label>
    <input type="text" id="address" name="address" value="北京市朝阳区某街道" maxlength="255"><br><br>

    <label for="city">城市:</label>
    <input type="text" id="city" name="city" value="北京" maxlength="50"><br><br>

    <label for="state">省份:</label>
    <input type="text" id="state" name="state" value="北京市" maxlength="50"><br><br>

    <label for="major">专业:</label>
    <input type="text" id="major" name="major" value="计算机科学" maxlength="100"><br><br>

    <label for="gpa">绩点:</label>
    <input type="number" id="gpa" name="gpa" value="3.5" step="0.01" min="0" max="4"><br><br>

    <input type="submit" value="提交">
</form>
</body>
</html>
